<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('修改APP注册用户')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-appUser-edit" th:object="${appUser}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">昵称：</label>
				<div class="col-sm-8">
					<input id="neckName" name="neckName" th:field="*{neckName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">头像图片地址：</label>
				<div class="col-sm-8">
					<input id="headImageUrl" name="headImageUrl" th:field="*{headImageUrl}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">手机号：</label>
				<div class="col-sm-8">
					<input id="phoneNumber" name="phoneNumber" th:field="*{phoneNumber}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">登录账号 ：</label>
				<div class="col-sm-8">
					<input id="loginName" name="loginName" th:field="*{loginName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">密码：</label>
				<div class="col-sm-8">
					<input id="pwd" name="pwd" th:field="*{pwd}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">真实姓名：</label>
				<div class="col-sm-8">
					<input id="realName" name="realName" th:field="*{realName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">性别(0:男;1女)：</label>
				<div class="col-sm-8">
					<input id="sex" name="sex" th:field="*{sex}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">身份证号：</label>
				<div class="col-sm-8">
					<input id="idNumber" name="idNumber" th:field="*{idNumber}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">身份证正面：</label>
				<div class="col-sm-8">
					<input id="idPhotoFont" name="idPhotoFont" th:field="*{idPhotoFont}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">身份证反面：</label>
				<div class="col-sm-8">
					<input id="idPhotoReverse" name="idPhotoReverse" th:field="*{idPhotoReverse}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">营业执照：</label>
				<div class="col-sm-8">
					<input id="businessLicense" name="businessLicense" th:field="*{businessLicense}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">是否缴费认证(0:未缴费;1已缴费)：</label>
				<div class="col-sm-8">
					<input id="isPayFlag" name="isPayFlag" th:field="*{isPayFlag}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">实名认证(0:未认证，1:已认证)：</label>
				<div class="col-sm-8">
					<input id="userAuthFlag" name="userAuthFlag" th:field="*{userAuthFlag}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">实名认证审核状态(0:待审核;1:审核通过;2:审核不通过)：</label>
				<div class="col-sm-8">
					<input id="userAuthStatus" name="userAuthStatus" th:field="*{userAuthStatus}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">实名认证不通过原因：</label>
				<div class="col-sm-8">
					<input id="userAuthReason" name="userAuthReason" th:field="*{userAuthReason}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">审核不通过原因：</label>
				<div class="col-sm-8">
					<input id="auditReason" name="auditReason" th:field="*{auditReason}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">用户类型(0:匿名;1:认证用户;2:商家用户)：</label>
				<div class="col-sm-8">
					<input id="userType" name="userType" th:field="*{userType}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">企业名称：</label>
				<div class="col-sm-8">
					<input id="unitName" name="unitName" th:field="*{unitName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">信用代码证号：</label>
				<div class="col-sm-8">
					<input id="creditCode" name="creditCode" th:field="*{creditCode}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">对公账号：</label>
				<div class="col-sm-8">
					<input id="accountNumber" name="accountNumber" th:field="*{accountNumber}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">邮箱：</label>
				<div class="col-sm-8">
					<input id="unitEmail" name="unitEmail" th:field="*{unitEmail}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">商家联系电话：</label>
				<div class="col-sm-8">
					<input id="unitPhoneNumber" name="unitPhoneNumber" th:field="*{unitPhoneNumber}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">商户详细地址：</label>
				<div class="col-sm-8">
					<input id="unitAddress" name="unitAddress" th:field="*{unitAddress}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">商户注册时间：</label>
				<div class="col-sm-8">
					<input id="unitCrateTime" name="unitCrateTime" th:field="*{unitCrateTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">商家简介：</label>
				<div class="col-sm-8">
					<input id="unitContent" name="unitContent" th:field="*{unitContent}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">商家认证(0:未认证，1:已认证)：</label>
				<div class="col-sm-8">
					<input id="unitAuthFlag" name="unitAuthFlag" th:field="*{unitAuthFlag}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">商家认证审核状态(0:待审核;1:审核通过;2:审核不通过)：</label>
				<div class="col-sm-8">
					<input id="unitAuthStatus" name="unitAuthStatus" th:field="*{unitAuthStatus}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">商家认证不通过原因：</label>
				<div class="col-sm-8">
					<input id="unitAuthReason" name="unitAuthReason" th:field="*{unitAuthReason}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">微信openId：</label>
				<div class="col-sm-8">
					<input id="wechatOpenId" name="wechatOpenId" th:field="*{wechatOpenId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">QQopenId：</label>
				<div class="col-sm-8">
					<input id="qqOpenId" name="qqOpenId" th:field="*{qqOpenId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">删除状态：0正常，1删除：</label>
				<div class="col-sm-8">
					<input id="delFlag" name="delFlag" th:field="*{delFlag}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">创建者：</label>
				<div class="col-sm-8">
					<input id="createBy" name="createBy" th:field="*{createBy}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">创建时间：</label>
				<div class="col-sm-8">
					<input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">更新者：</label>
				<div class="col-sm-8">
					<input id="updateBy" name="updateBy" th:field="*{updateBy}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">更新时间：</label>
				<div class="col-sm-8">
					<input id="updateTime" name="updateTime" th:field="*{updateTime}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "user/appUser";
		$("#form-appUser-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-appUser-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
